package com.kgc.novel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kgc.novel.domain.entity.BookShelf;
import com.kgc.novel.domain.param.BookShelfParam;
import com.kgc.novel.domain.vo.BookShelfVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookShelfMapper extends BaseMapper<BookShelf> {
    List<BookShelfVO> getAllShelf(BookShelfParam bookShelfParam);

    Integer getCountShelf(@Param("bookName") String bookName,
                          @Param("authorName") String authorName,
                          @Param("nickName") String nickName,
                          @Param("manageEnd") String manageEnd);

}
